All Questions
2 questions
3votes
2answers
437views
Programatically determine that some functions are pure
I saw this question that shows it is impossible to programatically determine if a javascript function is pure, but is it sometimes possible to affirm that a function is pure - so something like... ...
11votes
5answers
3kviews
Compute if a function is pure
As per Wikipedia: In computer programming, a function may be described as pure if both these statements about the function hold: The function always evaluates the same result value given the same ...